<template>
    <div @click="increment">
  123

    </div>
</template>

<script>
  import {mapState, mapMutations,mapActions} from 'vuex';
  export default {
    name: "",
    data() {
      return {
      size:""
      };
    },
    // 可请求数据
    created() {

    },
    //绑定dom对象
    mounted(){

     },
    // 计算函数
    computed: {
      increment(){
         this.size=this.$root.$mp.query.size;
         this.query(this.size)
      }

    },
    // 方法
    methods: {
      ...mapActions([
         "query"
      ])

    }
    ,
     // 子组件
    components: {

    }
  };
</script>

<style scoped>

</style>
